package com.dao;



import java.util.List;

import org.springframework.stereotype.Repository;

import com.entity.SubtasksEntity;

@Repository
public class SubtasksDaoImpl extends GenericDaoImpl<SubtasksEntity> implements SubtasksDao {

	public SubtasksEntity getSubtasksById(int id) {
		return getById(SubtasksEntity.class, id);
	}

	public List<SubtasksEntity> getAllSubtasks() {
		return getAll(SubtasksEntity.class);
	}

}
